package com.customer.model;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券类型表(TblCouponClass)实体类
 *
 * @author makejava
 * @since 2021-10-27 10:30:19
 */
@Component
@Data
public class TblCouponClass implements Serializable {
    private static final long serialVersionUID = 440786886995486615L;

    private int id;
    /**
     * 优惠方式:1现金券,2折扣券
     */
    private int couponType;
    /**
     * 优惠券名称
     */
    private String couponName;
    /**
     * 抵扣金额
     */
    private BigDecimal reductionAmount;
    /**
     * 折扣比例(8, 7.5)
     */
    private BigDecimal discount;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 最后修改人id
     */
    private Integer operatorId;
    /**
     * 暂停:0否1是
     */
    private int isPause;
}
